package gui;

import utils.CustomFont;

import javax.swing.*;
import javax.swing.border.Border;
import java.awt.*;

/**
 * Created by Yaksha on 1/22/14.
 */
public class FlowPanel extends JPanel {
    public FlowPanel() {
        setLayout(new FlowLayout(FlowLayout.CENTER));
        setBorder(BorderFactory.createEmptyBorder(120, 10, 10, 10));

        JLabel label = new JLabel("Hello, this is a Flow Panel");
        label.setFont((new CustomFont()).getFont());
        label.setForeground(Color.BLUE);

        add(label);
    }
}
